<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>GYK的算法小屋</title>
    <description>blog &amp; blog theme🤘 (basic template from http://xudailong.github.io)</description>
    <link>https://gaoyakun.github.io/</link>
    <atom:link href="https://gaoyakun.github.io/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Thu, 18 Apr 2019 03:14:25 +0000</pubDate>
    <lastBuildDate>Thu, 18 Apr 2019 03:14:25 +0000</lastBuildDate>
    <generator>Jekyll v3.7.4</generator>
    
      <item>
        <title>树状数组(二叉索引树)</title>
        <description>  树状数组（Binary Indexed Tree）也叫二叉索引数。它类似于线段树，主要用于查询数组中任意区间的元素和。

</description>
        <pubDate>Thu, 18 Apr 2019 00:00:00 +0000</pubDate>
        <link>https://gaoyakun.github.io/2019/04/18/binary-indexed-tree/</link>
        <guid isPermaLink="true">https://gaoyakun.github.io/2019/04/18/binary-indexed-tree/</guid>
        
        <category>算法</category>
        
        <category>数据结构</category>
        
        <category>树状数组</category>
        
        
        <category>数据结构</category>
        
      </item>
    
      <item>
        <title>利用DFS对DAG进行拓扑排序</title>
        <description>  对有向无环图（DAG）进行拓扑排序，除了减治法（逐步删除入度为0的顶点）之外，还可以使用传统DFS方法，实现更为简单，其原理为，用传统DFS方法遍历DAG的过程中，顶点的出栈次序刚好和拓扑次序相反。

</description>
        <pubDate>Sun, 28 Oct 2018 00:00:00 +0000</pubDate>
        <link>https://gaoyakun.github.io/2018/10/28/toplogic-sort-using-dfs/</link>
        <guid isPermaLink="true">https://gaoyakun.github.io/2018/10/28/toplogic-sort-using-dfs/</guid>
        
        <category>算法</category>
        
        <category>图论</category>
        
        <category>拓扑排序</category>
        
        
        <category>算法</category>
        
      </item>
    
      <item>
        <title>KD-Tree求解矩形面积覆盖问题</title>
        <description>  求一组矩形覆盖面积是一类很经典的算法问题，题目一般是给定N个大小已知的矩形（可以相互覆盖），求所有矩形所覆盖的总面积。假设所有矩形能覆盖的最大范围为宽w，高h，矩形数量为n，如果使用暴力法对每个面积单位进行判断的话复杂度将达到O(nwh)，显然难以接受。对于此问题，通常使用线段树+扫描线算法，这里我们介绍如何使用kd树在O(nlogn)的时间复杂度下解决此问题。

</description>
        <pubDate>Thu, 25 Oct 2018 00:00:00 +0000</pubDate>
        <link>https://gaoyakun.github.io/2018/10/25/kdtree-area/</link>
        <guid isPermaLink="true">https://gaoyakun.github.io/2018/10/25/kdtree-area/</guid>
        
        <category>数据结构</category>
        
        <category>KD-Tree</category>
        
        
        <category>数据结构</category>
        
      </item>
    
      <item>
        <title>线段树</title>
        <description>  线段树是在对一个线性数据结构的连续区间进行动态的修改或查询操作时应用很广范的一种数据结构，它巧妙地利用了分治原理将原本的O(N)复杂度降低到O(logN)。本文介绍了线段树的基本原理和实现方法。

</description>
        <pubDate>Tue, 23 Oct 2018 00:00:00 +0000</pubDate>
        <link>https://gaoyakun.github.io/2018/10/23/interval-tree/</link>
        <guid isPermaLink="true">https://gaoyakun.github.io/2018/10/23/interval-tree/</guid>
        
        <category>数据结构</category>
        
        <category>线段树</category>
        
        
        <category>数据结构</category>
        
      </item>
    
  </channel>
</rss>
